package com.ruan.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @ClassName:AddOrderDto
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/9/25 20:00
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class AddOrderDto {
    @ApiModelProperty(value = "商品标题")
    private String title;
    @ApiModelProperty(value = "商品内容")
    private String content;
    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;
    @ApiModelProperty(value = "商品图片")
    private String picture;
    @ApiModelProperty(value = "用户id")
    private Integer userId;
    @ApiModelProperty(value = "商品类型")
    private String type;
}
